package com.d18_homework.homework2;

public class Demo2 {
    public static void main(String[] args) {
        //创建Question对象
        Question question = new Question();
        //设定属性值
        question.setId("007");
        question.setName("集合");
        question.setContent("容器有哪些");
        //SUBMIT
        question.setState(CheckState.SUBMIT);
        System.out.println(question);
        //CHECKING
        System.out.println("---------------");
        System.out.println("审核人正在审核中");
        question.setState(CheckState.CHECKING);
        System.out.println(question);
        //CHECK_PASS
        System.out.println("---------------");
        System.out.println("审核通过");
        question.setState(CheckState.CHECK_PASS);
        System.out.println(question);
        //打印结果
        System.out.println("---------------");
        System.out.println("该试题进入备选库");
    }
}
